public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.createList();
        mySingleList.display();
        System.out.println(mySingleList.size());
        System.out.println(mySingleList.contain(11));
        System.out.println(mySingleList.contain(99));
        mySingleList.addFirst(666);
        mySingleList.display();
        mySingleList.addLast(999);
        mySingleList.display();
        mySingleList.addIndex(2, 888);
        mySingleList.display();
        mySingleList.remove(888);
        mySingleList.display();
        mySingleList.addFirst(666);
        mySingleList.addFirst(666);
        mySingleList.display();
        mySingleList.removeAll(666);
        mySingleList.display();
        mySingleList.clear();
        System.out.println("=========");
        mySingleList.display();
        System.out.println("=========");
    }
}